package org.jeecg.modules.demo.dary.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.util.TreeBuilder;
import org.jeecg.modules.demo.dary.entity.DaRyxx;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 人员档案信息表
 * @Author: jeecg-boot
 * @Date:   2023-11-17
 * @Version: V1.0
 */
public interface IDaRyxxService extends IService<DaRyxx> {
    public JSONObject daml(String user ,String orgcode,String mbmc,String ryid);//初始化人员档案
    public List<TreeBuilder.Node> rydaml(String orgcode,String ryxm,String id);//人员档案目录
    public List<TreeBuilder.Node> ckrydaml(String orgcode,String ryxm,String id,String zt,String sfzh,String xb,String csrqks,String csrqjs,
                                           String mz,String rwsjks,String rwsjjs,String twsjks,String twsjjs,String zzmm,String lxdh,String  xlqk,String  jkzt,
                                           String  cjxz,String  bddh,String twzh,String  azfs,String jl,String  rwgxmc );//查看人员档案目录
    public List<TreeBuilder.Node> sqrydaml(String orgcode,String ryxm);//人员档案目录
    public JSONObject rydamladd(String user ,String orgcode,String ryid,String mlmc,String pid);//人员档案目录新建
    public JSONObject rydamledit(String user ,String orgcode,String id,String mlmc);//人员档案目录修改
    public JSONObject rydamldel(String user ,String orgcode,String id,String ryid,String pid);//人员档案目录删除
    public Page<DaRyxx> getlist(Page<DaRyxx>page , String xm,String zt,String  sfzh,String  xb,String  csrqks,String  csrqjs,String  mz,String  rwsjks,String  rwsjjs,
                                String  twsjks,String  twsjjs,String  zzmm,String  lxdh,String  xlqk,String  jkzt,String  cjxz,String  bddh,
                                String  twzh,String  azfs,String  jl,String  rwgxmc);//数据查询
    public JSONObject jyupzt(String id ,String zt);//人员状态修改
}
